home *** CD-ROM | disk | FTP | other *** search
- Short: Output of unique numbers
- Author: t.esser@darkness.gun.de (Thomas Esser)
- Uploader: t.esser@darkness.gun.de (Thomas Esser)
- Type: util/cli
-
- - DISCLAIMER -
-
- GetUnique is Copyright (c) 1995 Thomas Esser, but you may freely
- use it and pass any number of copies to your friends, as long as you
- don't charge anyone for giving him/her a copy. You are NOT allowed
- to modify the distribution archive which may only be copied complete
- and intact. The archive MUST contain the following files:
-
- GetUnique - 200 Bytes
- GetUnique.c - 1810 Bytes
- SCOPTIONS - xxx Bytes
-
- YOU AGREE TO USE THIS PROGRAM ENTIRELY AT YOUR OWN RISK! I CAN'T BE
- HELD RESPONSIBLE FOR DAMAGE WHATSOEVER RESULTING FROM USING THIS
- PROGRAM!
-
-
- - PURPOSE -
-
- GetUnique must be called from CLI only! It returns a number, which
- will be unique. I use this for generating Filenames who must be
- definitly unique, e.g. in Shell or Rexxscripts. In the shell you
- can use it via the backtick (`) characters:
-
- move foo foo.`getunique`
-
- GetUnique need Kickstart V39 - 3.0 or better.
-
- - HISTORY -
-
- V1.0 initial release
- V1.1 optimized - 20 Bytes saved ;).
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 200 181 9.5% 10-Mar-95 12:35:46 GetUnique
- 1810 1069 40.9% 10-Mar-95 12:36:18 GetUnique.c
- 445 254 42.9% 10-Mar-95 12:37:20 SCOPTIONS
- -------- ------- ----- --------- --------
- 2455 1504 38.7% 11-Mar-95 11:27:20 3 files
-